#include "mainpage.h"
#include "ui_mainpage.h"
#include "inspectmainpage.h"

mainpage::mainpage(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::mainpage)
{
    ui->setupUi(this);
}

mainpage::~mainpage()
{
    delete ui;
}

void mainpage::on_pushButton_clicked()
{
    inspectMainpage *newpageinspectmainpage = new inspectMainpage(nullptr);
    newpageinspectmainpage->show();
    this->close();
}

